package com.ken.base_http_library.http_api_service

import com.ken.base_http_library.oil_price.OilPriceResponse
import com.ken.base_http_library.response.JuHeBaseResponse
import com.ken.base_http_library.response.JuHeNewBaseResponse
import io.reactivex.Observable
import retrofit2.http.GET
import retrofit2.http.Query

/**
 * @author by ken
 * Blog:
 * Date:2020/5/8
 * Description: 聚合数据api
 */
interface JuHeApiService {

    @GET("gnyj/query")
    fun getTodayOilPrice(@Query("key") key: String): Observable<JuHeBaseResponse<OilPriceResponse>>

}